import {createRouter,createWebHistory} from 'vue-router';
import NewsList from '../components/NewsList.vue';
let router = createRouter({
    history:createWebHistory(),
    routes: [
        {
            path:'/NewsList/:id',
            component:NewsList,
            alias:['/']

        },
        
    ]
})

export default router;